export function Page4() {
  const onClick = () => {
    throw new Error("Page4 error");
  };

  return (
    <div style={{ padding: "20px", backgroundColor: "lightgray" }}>
      <h3>Page4</h3>
      <button type="button" onClick={onClick}>
        按钮
      </button>
    </div>
  );
}
